package com.example.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.entry.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper extends BaseMapper<User> {

//    用户注册
    void userRegister(User user);
//    验证用户名
    String userCheck(String username);

//    用户登录
    User selectUser(String username, String password);

}
